Skip to content

feat: bundler config #5837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

feat: bundler config #5837

wants to merge 5 commits into from

Conversation

NathanWalker
Copy link
Contributor

@NathanWalker NathanWalker commented Mar 21, 2025

PR Checklist

What is the current behavior?

Webpack bundler was the only supported bundling option.

What is the new behavior?

This introduces the ability to specify a bundler in nativescript.config:

bundler: 'webpack' | 'rspack' | 'vite' 

It deprecates webpackConfigPath (will always be supported though) in favor of bundlerConfigPath to specify location of the config associated with the defined bundler.

#5836

@NathanWalker NathanWalker self-assigned this Mar 21, 2025
@NathanWalker NathanWalker added this to the 9.0 milestone Mar 21, 2025
@NathanWalker NathanWalker marked this pull request as draft March 21, 2025 21:20
@NathanWalker
Copy link
Contributor Author

Notes:

  • could rename webpack-compiler-service to just bundler-service
  • could make bundler an object with additional properties if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants